#ifndef CHECKBYTE_H_INCLUDED
#define CHECKBYTE_H_INCLUDED 1

static uint8_t inline calc_sum_byte( uint8_t *data, uint8_t datasz )
{
	uint8_t ret;
	while( datasz-- ){
		ret += data[ datasz ];
	}
	return ret;
}

#endif
